import Koa from 'koa'

import userRouter from './router/user.router'

const app: Koa = new Koa()

app.use(userRouter.routes())

const PORT: number = 3000

app.listen(PORT, () => {
  console.log(`server now running on http://localhost:${PORT}`)
})